package com.xuecheng.auth.client;

import com.xuecheng.framework.client.XcServiceList;
import com.xuecheng.framework.domain.ucenter.ext.XcUserExt;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: gongfy
 * @create: 2020/8/28 16:09
 * @Description: XcUserService 用户服务客户端
 */
@FeignClient(value = XcServiceList.XC_SERVICE_UCENTER)
public interface XcUserClient {

    @GetMapping(value = "/ucenter/getuserext")
    public XcUserExt getXcUserExt(@RequestParam("username") String username);

}
